<template>
  <div ref="box_heigth"></div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {
    this.$refs.box_heigth.addEventListener("scroll", () => {
      var a = document.documentElement.clientHeight;  //文档高度
      var b = document.documentElement.scrollTop; //可视距离高度
      var c = document.documentElement.scrollHeight; //滚动高度
    });
  },
};
</script>

<style>
</style>